<extend name="Index:base" />
        <block name="b_content">
            <div id="content-header">
                <h1>发送邮件</h1>
            </div>
            <div id="breadcrumb">
                <a href="/" title="Go to Home" class="tip-bottom"><i class="icon-home"></i> Home</a>
                <a href="{:U('/Prom/Index/index@'. getDomain())}" title="审核用户" class="tip-bottom"><i class="icon-home"></i>审核用户</a>
                <a href="#" class="current">发送邮件</a>
            </div>
            <form action="{:U('/Prom/Index/mail@'. getDomain())}" method='post'>
                <div class="container-fluid">
                    <div class="row-fluid">
                        <if condition='$rlt eq 1'>
                        <p style='color: #f00;'>邮件已发送！</p>
                        </if>
                        <p>收件人昵称：<input type='text' name='nickname' value='{$nickname}' /></p>
                        <p>收件人地址：{$email}</p><input type='hidden' name='email' value='{$email}' />
                        <label>标题：<input type='text' name='subject' /></label>
                        <label>正文：<textarea name='content' style='min-width: 600px;min-height: 300px;'></textarea></label>
                    </div>
                    <div class="row-fluid">
                        <input type='submit' value='发送' />
                    </div>
                </div>
            </form>
        </block>
<block name="b_footer_script">
    <script>
        function acceptBat(uid){
            var url = "{:U('/Prom/Index/acceptCheck_ajax@'. getDomain())}";
            $.post(url, {'uid':uid}, function(data){
                var vdata = eval(data);
                if(vdata.success==1){
                    alert('审核成功！');
                    window.location.reload();
                }else{
                    alert(vdata.msg);
                }
            }, 'json');
        }
    </script>
</block>